<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link href="<%=request.getContextPath()%>/css/Style.css"
			type="text/css" rel="stylesheet">
		<link href="<%=request.getContextPath()%>/css/admin.css"
			type="text/css" rel="stylesheet">
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/img.js"></script>
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/jquery-1.3.2.js"></script>
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/select.js"></script>
			<script type="text/javascript" src="<%=request.getContextPath() %>/FCKeditor/fckeditor.js"></script>
		<script type="text/javascript"><!--
		
		
		function check(){
		
		return true;
		
	}
		</script>
		
		<title>联系我们-添加</title>
	</head>
	<body>
	<table width="100%" cellspacing="0" cellpadding="0"
							bordercolor="#003366" border="1" class="Table1" align="left">
							<tbody>
								<tr height="30px">
									
									<td colspan="6" class="thead">
										当前位置:
									<%
										String nid = request.getParameter("nid");
										if(nid.equals("21")) {
											
									%>
										联系我们
									<% 		
										}
										if(nid.equals("22")) {
									%>
										联系方式
									<% 		
										}
										if(nid.equals("23")) {
									%>
										QQ客服
									<% 		
										}
									%>
										&gt;添加
										<br><br>
								</tr>
		</tbody>
		</table>
		<form action="<%=request.getContextPath()%>/admin/addAboutObj.htm"
			method="post" id="n_form" onsubmit="return check();">
			<table cellspacing="0" cellpadding="0" border="0" align="center"
				width="600">
				<tbody>
					<tr>
						<table width="100%" cellspacing="0" cellpadding="0"
				bordercolor="#003366" border="1" class="Table1">
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" width="30%" align="center">
						地址:
					</td>
					<td height="25" align="center">
						<input type="text" size="100" name="pub.address" id="pub.address">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" align="center">
						电话:
					</td>
					<td colspan="2" height="25" align="center">
					<input type="text" name="pub.phone" id="pub.phone">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" align="center">
						传真:
					</td>
					<td colspan="2" height="25" align="center">
					<input type="text" name="pub.fax" id="pub.fax">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" align="center">
						手机:
					</td>
					<td colspan="2" height="25" align="center">
					<input type="text" name="pub.mobilePhone" id="pub.mobilePhone">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" align="center">
						联系人:
					</td>
					<td colspan="2" height="25" align="center">
					<input type="text" name="pub.name" id="pub.name">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" align="center">
						邮箱:
					</td>
					<td colspan="2" height="25" align="center">
					<input type="text" name="pub.email" id="pub.email">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" align="center">
						邮编:
					</td>
					<td colspan="2" height="25" align="center">
					<input type="text" name="pub.postCode" id="pub.postCode">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td height="25" align="center">
						网址:
					</td>
					<td colspan="2" height="25" align="center">
					<input type="text" size="100" name="pub.url" id="pub.url">
					</td>
				</tr>
				<tr style="font-weight: bold; background: #EEEEEE;">
					<td colspan="2" height="25" align="right">
					<br>
					<br>
					<br>
					<input type="submit" value="提交" />
					<input type="button" onclick="javascript:history.go(-1)" value="返回" />
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					</td>
				</tr>
			</table>
			<input type="hidden" name="pub.nid" value="<%=request.getParameter("nid") %>">
		</form>
	</body>
</html>